﻿using SqlSugar;
using System.ComponentModel;
using Zhp.Entity.Formula;
using Zhp.IService.Formula.Attributes;

namespace Zhp.IService.Formula.VariableClass
{
    [DisplayName("测试数据")]
    [SugarTable("Formula_Test")]
    public class FormulaVariableTest : IFormulaVariable
    {
        [SugarColumn(IsPrimaryKey = true)]
        public long Id { get; set; }

        [DisplayName("单价")]
        public decimal Price { get; set; }

        [DisplayName("数量")]
        public decimal Number { get; set; }

        public long FormulaId { get; set; }

        [FormulaValue]
        public decimal FormulaValue { get; set; }
    }
}
